package shengchanxiaofei;

public class Test {

	public static void main(String[] args) {
		Repository<BaoZi> zh=new Repository<>(5);
		Producer producer=new Producer(zh);
		Customer customer=new Customer(zh);
		producer.start();
		customer.start();

	}

}
